package hn.cch.spring_async_call;

import hn.cch.spring_async_call.filter.ApiFilter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@ServletComponentScan
@SpringBootApplication
public class SpringAsyncCallApplication {


    private static Logger logger = LoggerFactory.getLogger(ApiFilter.class);


    public static void main(String[] args) {
        SpringApplication.run(SpringAsyncCallApplication.class, args);
        logger.info("########################################\n\n");
    }

}
